#!/bin/sh
cd ${0%/*} || exit 1    # Run from this directory

# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

# Copy the source case
isTest "$@" && path=../../isothermalFilm || path=$FOAM_TUTORIALS/isothermalFilm
cp -r $path/rivuletPanel/constant .
cp -r $path/rivuletPanel/system .
cp -r $path/rivuletPanel/0 .

runApplication -a foamDictionary system/controlDict -entry solver -set film

runApplication blockMesh

runApplication foamRun

#------------------------------------------------------------------------------
